*{
    padding: 0;
    margin: 0;
}
.bg{
    position: fixed;
    background-color: #333;
    width: 100vw;
    height: 100vh;
    background-image: url(../img/login-bg.png);
    background-position: 50% 0%;
    background-repeat: no-repeat;
    z-index: -1;
    top: 0;
    left: 0;
    .header{
        width: 1200px;
        margin: 30px auto 0;
        img{
            width: 203px;
        }
    }
    .login-box{
        position: absolute;
        left: 62%;
        width: 400px;
        height: 431px;
        top: 150px;
        box-sizing: border-box;
        padding: 20px 45px;
        background-color: #fff;
        -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
        z-index: 200;
        .tabs{
            cursor: pointer;
            display: flex;
            width: 310px;
            margin-bottom: 20px;
            .active{
                color: #ff4c2f !important;
            }
            .tab1{
                width: 135px;
                height: 40px;
                line-height: 40px;
                margin-right: 20px;
                font-size: 14px;
                color: #303133;
                text-align: center;
            }
            .tab2{
                width: 135px;
                height: 40px;
                line-height: 40px;
                margin-left: 20px;
                font-size: 14px;
                color: #303133;
                text-align: center;
            }
            &::after{
                content: "";
                position: absolute;
                left: 45px;
                top: 60px;
                width: 310px;
                height: 2px;
                background-color: #e4e7ed;
                z-index: 1;
            }
            .line{
                position: absolute;
                background-color: #ff4c2f;
                width: 135px;
                height: 2px;
                left: 45px;
                top: 60px;
                z-index: 25;
                transition: all .8s;
            }
        }
        .err{
            font-size: 14px;
            color: #ff0000;
            height: 16px;
            margin-bottom: 4px;
        }
        .form{
            .account,.psw,.code{
                color: #606266;
                padding: 0 15px;
                width: 100%;
                box-sizing: border-box;
                height: 36px;
                line-height: 36px;
                outline: none;
                background-color: #fff;
                background-image: none;
                border-radius: 4px;
                border: 1px solid #dcdfe6;
                margin-bottom: 22px;
                &::placeholder{
                    color: #ccc;
                    font-size: 14px;
                }
                &:focus{
                    border-color: #f56c6c;
                }
            }
            .verify{
                display: flex;
                justify-content: space-between;
                .code{
                    width: 200px;
                    margin-bottom: 10px;
                }
                img{
                    width: 100px;
                    height: 35px;
                }
            }
            .txt{
                height: 36px;
                display: flex;
                align-items: center;
                font-size: 12px;
                color: #999;
                span{
                    cursor: pointer;
                    outline: 0;
                    line-height: 1;
                    vertical-align: middle;
                    font-size: 12px;
                    color: #ff4c2f;
                    .inner{
                        margin-right: 10px;
                        display: inline-block;
                        position: relative;
                        border: 1px solid #dcdfe6;
                        border-radius: 2px;
                        -webkit-box-sizing: border-box;
                        box-sizing: border-box;
                        width: 14px;
                        height: 14px;
                        background-color: #fff;
                        z-index: 1;
                        &::after{
                            -webkit-transform: rotate(45deg) scaleY(1);
                            transform: rotate(45deg) scaleY(1);
                            -webkit-box-sizing: content-box;
                            box-sizing: content-box;
                            content: "";
                            border: 1px solid #fff;
                            border-left: 0;
                            border-top: 0;
                            height: 7px;
                            left: 4px;
                            position: absolute;
                            top: 1px;
                            width: 3px;
                            -webkit-transition: -webkit-transform .15s ease-in .05s;
                            transition: -webkit-transform .15s ease-in .05s;
                            transition: transform .15s ease-in .05s;
                            transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s;
                            -webkit-transform-origin: center;
                            transform-origin: center;
                        }
                    }
                }
            }
            button{
                width: 100%;
                height: 34px;
                padding: 10px 20px;
                box-sizing: border-box;
                line-height: 14px;
                text-align: center;
                color: #fff;
                border: none;
                background-color: #ff4c2f;
                border-radius: 4px;
            }
            .rem{
                display: flex;
                justify-content: space-between;
                height: 19px;
                line-height: 19px;
                margin-top: 10px;
                font-size: 13px;
                color: #999;
                span{
                    cursor: pointer;
                    outline: 0;
                    line-height: 1;
                    vertical-align: middle;
                    font-size: 12px;
                    color: #ff4c2f;
                    .inner1{
                        margin-right: 10px;
                        display: inline-block;
                        position: relative;
                        border: 1px solid #dcdfe6;
                        border-radius: 2px;
                        -webkit-box-sizing: border-box;
                        box-sizing: border-box;
                        width: 14px;
                        height: 14px;
                        background-color: #fff;
                        z-index: 1;
                        &::after{
                            -webkit-transform: rotate(45deg) scaleY(1);
                            transform: rotate(45deg) scaleY(1);
                            -webkit-box-sizing: content-box;
                            box-sizing: content-box;
                            content: "";
                            border: 1px solid #fff;
                            border-left: 0;
                            border-top: 0;
                            height: 7px;
                            left: 4px;
                            position: absolute;
                            top: 1px;
                            width: 3px;
                            -webkit-transition: -webkit-transform .15s ease-in .05s;
                            transition: -webkit-transform .15s ease-in .05s;
                            transition: transform .15s ease-in .05s;
                            transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s;
                            -webkit-transform-origin: center;
                            transform-origin: center;
                        }
                    }
                }
            }
            .btns{
                margin-top: 10px;
                width: 100%;
                display: flex;
                justify-content: space-between;
                img{
                    width: 40px;
                    height: 40px;
                }
            }
        }
        .register{
            display: none;
            .regaccount,.regpsw,.code{
                color: #606266;
                padding: 0 15px;
                width: 100%;
                box-sizing: border-box;
                height: 36px;
                line-height: 36px;
                outline: none;
                background-color: #fff;
                background-image: none;
                border-radius: 4px;
                border: 1px solid #dcdfe6;
                margin-bottom: 22px;
                &::placeholder{
                    color: #ccc;
                    font-size: 14px;
                }
                &:focus{
                    border-color: #f56c6c;
                }
            }
            .regverify{
                display: flex;
                justify-content: space-between;
                .code{
                    width: 200px;
                    margin-bottom: 10px;
                }
                .img{
                    width: 100px;
                    height: 35px;
                    font-size: 13px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: #c0c4cc;
                    border: 1px solid #c0c4cc;
                    cursor: pointer;
                    border-radius: 4px;
                    &:hover{
                        color: #ff0000;
                        border-color: #ff0000;
                    }
                }
            }
            .txt{
                height: 36px;
                display: flex;
                align-items: center;
                font-size: 12px;
                color: #999;
                span{
                    cursor: pointer;
                    outline: 0;
                    line-height: 1;
                    vertical-align: middle;
                    font-size: 12px;
                    color: #ff4c2f;
                    .reginner{
                        margin-right: 10px;
                        display: inline-block;
                        position: relative;
                        border: 1px solid #dcdfe6;
                        border-radius: 2px;
                        -webkit-box-sizing: border-box;
                        box-sizing: border-box;
                        width: 14px;
                        height: 14px;
                        background-color: #fff;
                        z-index: 1;
                        &::after{
                            -webkit-transform: rotate(45deg) scaleY(1);
                            transform: rotate(45deg) scaleY(1);
                            -webkit-box-sizing: content-box;
                            box-sizing: content-box;
                            content: "";
                            border: 1px solid #fff;
                            border-left: 0;
                            border-top: 0;
                            height: 7px;
                            left: 4px;
                            position: absolute;
                            top: 1px;
                            width: 3px;
                            -webkit-transition: -webkit-transform .15s ease-in .05s;
                            transition: -webkit-transform .15s ease-in .05s;
                            transition: transform .15s ease-in .05s;
                            transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s;
                            -webkit-transform-origin: center;
                            transform-origin: center;
                        }
                    }
                }
            }
            button{
                width: 100%;
                height: 34px;
                padding: 10px 20px;
                box-sizing: border-box;
                line-height: 14px;
                text-align: center;
                color: #fff;
                border: none;
                background-color: #ff4c2f;
                border-radius: 4px;
            }
            .rem{
                display: flex;
                justify-content: space-between;
                height: 19px;
                line-height: 19px;
                margin-top: 10px;
                font-size: 13px;
                color: #999;
                span{
                    cursor: pointer;
                    outline: 0;
                    line-height: 1;
                    vertical-align: middle;
                    font-size: 12px;
                    color: #ff4c2f;
                    .reginner1{
                        margin-right: 10px;
                        display: inline-block;
                        position: relative;
                        border: 1px solid #dcdfe6;
                        border-radius: 2px;
                        -webkit-box-sizing: border-box;
                        box-sizing: border-box;
                        width: 14px;
                        height: 14px;
                        background-color: #fff;
                        z-index: 1;
                        &::after{
                            -webkit-transform: rotate(45deg) scaleY(1);
                            transform: rotate(45deg) scaleY(1);
                            -webkit-box-sizing: content-box;
                            box-sizing: content-box;
                            content: "";
                            border: 1px solid #fff;
                            border-left: 0;
                            border-top: 0;
                            height: 7px;
                            left: 4px;
                            position: absolute;
                            top: 1px;
                            width: 3px;
                            -webkit-transition: -webkit-transform .15s ease-in .05s;
                            transition: -webkit-transform .15s ease-in .05s;
                            transition: transform .15s ease-in .05s;
                            transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s;
                            -webkit-transform-origin: center;
                            transform-origin: center;
                        }
                    }
                }
            }
            .btns{
                margin-top: 10px;
                width: 100%;
                display: flex;
                justify-content: space-between;
                img{
                    width: 40px;
                    height: 40px;
                }
            }
        }
    }
}
